package ibm.websphere.monitor.service.impl;

import ibm.websphere.monitor.bean.ThreadInfo;
import ibm.websphere.monitor.domain.JvmDomain;
import ibm.websphere.monitor.domain.ThreadDomain;
import ibm.websphere.monitor.service.IThreadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhouyang on 2016/1/15.
 */
@Service
public class ThreadServiceImpl implements IThreadService {
    @Autowired
    ThreadDomain threadDomain;

    @Override
    public List<Object> findThread(String date, String serverName,Integer type) {
        return threadDomain.findThread(date,serverName,type);
    }
}
